package com.know.web;

import java.io.IOException;

import javax.servlet.ServletException;

import my.mvc.RequestContext;
/**
 * 全部页面跳转(方便管理）
 * 文章专栏，点点滴滴等页面跳转
 * @author Administrator
 *
 */
public class AllAction {
	public void article(RequestContext rc) throws ServletException, IOException {
		
		rc.forward(rc.request().getContextPath()+"/article.html");
	}
	public void mixed_pic(RequestContext rc) throws ServletException, IOException {
		
		rc.forward(rc.contextPath()+"/mixed_pic.html");
	}
	public void timeline(RequestContext rc) throws ServletException, IOException {
		
		rc.forward(rc.request().getContextPath()+"/timeline.jsp");
	}
	public void about(RequestContext rc) throws ServletException, IOException {
		
		rc.forward(rc.request().getContextPath()+"/about.html");
	}
	public void index(RequestContext rc) throws ServletException, IOException {
		
		rc.forward(rc.request().getContextPath());
	}
}
